package com.culturalCenter.dataCenter.customEntity.site;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ISMC
 * @since 2020/6/22 14:32
 */
@ApiModel("自定义场地状态")
@Data
public class CustomSiteStatus implements Serializable {

    /**
     * 场地排期id
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地排期id")
    private String id;
    /**
     * 场地id
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地id")
    private String siteId;
    /**
     * 场地排期id
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("预约单id")
    private String applyId;
    /**
     * 场地名字
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地名字")
    private String siteName;
    /**
     * 场地位置
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地位置")
    private String location;
    /**
     * 场地图片
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地图片")
    private String picture;
    /**
     * 场地使用人
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("场地使用人")
    private String siteUser;
    /**
     * 开始时间
     */
    //@JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("开始时间")
    private Date beginTime;
    /**
     * 结束时间
     */
    //@JsonInclude(JsonInclude.Include.NON_NULL)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("结束时间")
    private Date endTime;
    /**
     * 活动时间
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("活动时间")
    private String timeScope;
    /**
     * 状态
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("状态")
    private String status;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("活动事由")
    private String purpose;
    /**
     * 活动描述
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @ApiModelProperty("活动描述")
    private String description;
    @ApiModelProperty("预计人数")
    private int peopleNum;
    @ApiModelProperty("联系电话")
    private String mobile;
    @ApiModelProperty("审核状态")
    private int auditStatus;
    @ApiModelProperty("部门")
    private String department;
    @ApiModelProperty("预约时间段")
    private List<CustomSiteApplyTime> applyTime;

}
